Diet quality and resource allocation in the zebra finch