Electrochemical energy-storage performances of nickel oxide films prepared by a sparking method