Metal ion-driven synthesis of polyaniline composite doped with metallic nanocrystals at the boundary of two immiscible liquids