Influence of Poromechanical and Thermal Properties of the Caprock on the Safety of CO2 Storage