Polyaniline–nickel oxide nanocomposites for supercapacitor