Hydrothermal synthesis of NiO nanostructures for photodegradation of 4-nitrophenol