Energetic Sustainability of Environmentally Powered Wireless Sensor Networks