Synthesis and characterization of polyaniline derivatives and related carbon nanotube nanocomposites - Study of optical properties and band gap calculation