Illuminance Calculation Algorithm and Hardware for Simultaneous Sensing and Energy Harvesting Using Solar Cell Harvester at Maximum Power Point