The substituent effects on the structure and surface morphology of polyaniline