Pricing forward-looking climate risks in financial contracts