A wide spectral range single-photon avalanche diode fabricated in an advanced 180 nm CMOS technology