Effects of the gravitational field of a neutron star on the emission from hot polar spots on the surface of radio pulsars