Porous carbon-NiO nanocomposites for amperometric detection of hydrazine and hydrogen peroxide