Smart Power Unit—mW-to-nW Power Management and Control for Self-Sustainable IoT Devices