MOF-derived spinel NiMn2O4/CoMn2O4 heterojunction and its application in a high-performance photocatalyst and supercapacitor