Electron distributions and solar wind interaction with nonmagnetic planets