Mass spectrometric measurements of negative ions in the D- and lower E-regions