Coordination polymers as heterogeneous catalysts in hydrogen evolution and oxygen evolution reactions.