Density of the Upper Atmosphere and its Dependence on the Sun, as Revealed by Satellite Orbits