Characterization of semiconductor devices and wafer materials via sub-nanosecond time-correlated single-photon counting