3D modeling of CMOS image: Comparison between front- and back-illumination