Characterization of solution and solid state properties of undoped and doped polyanilines processed from hexafluoro-2-propanol