General synthesis of binary PtM and ternary PtM1M2 alloy nanoparticles on graphene as advanced electrocatalysts for methanol oxidation