The impact of thermal fracturing on the near-wellbore region during CO2 injection in depleted gasfields