Libya peace talks in 'final stages', says UN envoy