Metal-insulator transition in polyaniline doped with surfactant counter-ion