In-Pixel Aperture CMOS Image Sensor for 2-D and 3-D Imaging