Metal-doped bipyridine linked covalent organic framework films as a platform for photoelectrocatalysts