Production of electrons in heavy-ion-atom collisions at 40 to 120 MeV