Two novel Co(II) coordination polymers based on 1,4-bis(3-pyridylaminomethyl)benzene as electrocatalysts for oxygen evolution from water.