Solid state detectors