Adaptive morphing of wing and tail for stable, resilient, and energy-efficient flight of avian-informed drones