Comparison of Ionospheric Electron Density Structure on Earth and Mars