Photon-Counting Arrays for Time-Resolved Imaging