Construction of Catalytic Covalent Organic Frameworks with Redox-Active Sites for the Oxygen Reduction and the Oxygen Evolution Reaction.