Critical nonlinear elliptic equations with singularities and cylindrical symmetry