Changes in temperature and precipitation extremes in the CMIP5 ensemble