Force-balance and differential equation for the ground-state electron density in atoms and molecules