Adaptation in agriculture: historic effects of heat waves and droughts on UK agriculture