A full computational characterization of the impact of defects on the mechanical stability and gas separation ability of MOFs