Energy harvesting using CMOS image sensor pixels