Cooperative chemical-mechanical interactions during ion exchange promote rotational ordering in hydrated montmorillonite