NiO powder synthesized through nickel metal complex degradation for water treatment