Breeding and foraging habitat are important in determining foraging ranges of sympatric generalist species