Earth's climate response to a changing Sun