Text this: Gated SPAD Arrays for Single-Photon Time-Resolved Imaging and Spectroscopy