Kinetic theory for charge-exchange spectroscopy: Effects of magnetic and electric fields on the distribution function after charge-exchange