CMOS optoelectronic lock-in amplifier with semi-digital automatic phase alignment