Optimal Bird Migration: The Relative Importance of Time, Energy, and Safety