Scenario dependence of future changes in climate extremes under 1.5 °C and 2 °C global warming