The stability of relativistic gas spheres