Molecular Basis for SMC Rod Formation and Its Dissolution upon DNA Binding