Spin rotations induced by an electron running in closed trajectories in gated semiconductor nanodevices.