Ternary MnO/CoMn alloy@N-doped graphitic composites derived from a bi-metallic pigment as bi-functional electrocatalysts