Multichannel time-correlated single photon counting: Spectroscopy and time-gated imaging using a resistive anode photomultiplier tube