Preparation, characterization and photocatalytic activity of TiO2/polyaniline core-shell nanocomposite