N,N-Dihalophosphoramides VIII. A novel approach to pyrrolidine derivatives