Molecular insight into the miscible mechanism of CO2/C10 in bulk phase and nanoslits