Necessity or capacity? Physiological state predicts problem-solving performance in house sparrows