Characterization of single-photon avalanche photodiodes in CMOS 150nm technology