Avalanche Photodiodes in Submicron CMOS Technologies for High-Sensitivity Imaging