Solid-phase preparation of defective carbon supported PtNi alloy electrocatalyst and analysis of its oxygen reduction mechanism