Rocket measurement of the electron-density distribution in the topside ionosphere