Optimal climbing flight in migrating birds: predictions and observations of knots and turnstones