Adaptive Power Control for Energy Harvesting Communication Systems