Sustainable solid-state synthesis of uniformly distributed PdAg alloy nanoparticles for electrocatalytic hydrogen oxidation and evolution