A Study Of Joint Network Coding And Power Control In Energy Harvesting Networks