An Energy-Autonomous Wireless Sensor with Simultaneous Energy Harvesting and Ambient Light Sensing