Uniformly dispersed PtNi alloy nanoparticles in porous N-doped carbon nanofibers with high selectivity and stability for hydrogen peroxide detection