Layered transition metal oxyhydroxides as tri-functional electrocatalysts