Interference with coupled microcavities: Optical analog of spin 2π rotations