Mechanisms of axis-switching and saddle-back velocity profile in laminar and turbulent rectangular jets