Isomerization mechanism in hydrazone-based rotary switches: lateral shift, rotation, or tautomerization?