Modification of the solar wind electron velocity distribution at interplanetary shocks