Integrated Energy-Aware Motion Planning and Charge Scheduling of Unmanned Aerial Vehicles