Detectors based on silicon photomultiplier arrays for medical imaging applications