Two novel Co (II)‐coordination polymers as bifunctional materials for efficient photocatalytic degradation of dyes and electrocatalytic water oxidation