On the ballistic deficit and the signal-to-noise ratio of semiconductor spectrometers for energy and position spectroscopy