Square wave voltammetry restructuring of platinum nanoparticle at boron doped diamond electrode for enhanced ammonia oxidation