Statistical models for charge collection efficiency and variance in semiconductor spectrometers