Controlling phase transfer of molybdenum carbides by various metals for highly efficient hydrogen production