what is the relationship between light and heat