Energy Harvesting-Aware Design for Wireless Nanonetworks