Electrochemical synthesis of novel structured catalysts for H2 production