Adsorption of molecular gases on porous materials in the SAFT-VR approximation