Double differential distributions of electron emission in ion–atom and electron–atom collisions using an electron spectrometer