Atomic scattering factors for spherical and aspherical charge distributions