Anisotropic thermal electron distributions in the solar wind