Energy Harvesting in Cooperative Communications