Single Photon Detection with Semiconductor Pixel Arrays for Medical Imaging Applications