Energetic Sustainability of Routing Algorithms for Energy-Harvesting Wireless Sensor Networks