Anisotropic fluid spheres in general relativity