Effects of trapped electrons on the line shape in emission Mössbauer spectra