Imperfect phase synchronization in the locomotor behavior of Halobacterium salinarium