Electron pitch angle distributions as indicators of magnetic field topology near Mars