Habitat selection in birds