UAV Trajectory Optimization in a Post-Disaster Area Using Dual Energy-Aware Bandits