One step hydrothermal preparation of NiO nanostructures for NextGen resistive switching device applications