Flexible CMOS Single-Photon Avalanche Diode Image Sensor Technology