Confinement of molecular liquids: Consequences on thermodynamic, static and dynamical properties of benzene and toluene