Thermodynamics of ionic liquid solvents in gas purification and exfoliation mechanisms: molecular dynamics simulation and Monte Carlo calculations