Molecular simulation study of the stepped behaviors of gas adsorption in two-dimensional covalent organic frameworks.