Uniform semiclassical approximation to the electron density distribution