Water-resistant porous coordination polymers for gas separation