Electrochemical functionalization of single walled carbon nanotubes with polyaniline in ionic liquids