Atomistic simulation of local segmental dynamics and gas diffusion in CO2–polystyrene systems