Foraging niches become more specialized toward bird range limits