A review on CMOS photodiodes modeling, the role of the lateral photoresponse