Synthesis and optimisation of platinum supported carbides for sustainable hydrogen technologies