Obligate and facultative migration in birds: ecological aspects