New solutions for charged spheres in general relativity