An ultra-low power voltage regulator system for wireless sensor networks powered by energy harvesting