Semiconductor detectors for lifetime measurements and high space resolution