Hardy–Sobolev extremals, hyperbolic symmetry and scalar curvature equations