Interplanetary acceleration of relativistic electrons observed with Imp 7