Ecological causes and consequences of bird orientation.