Mechanism of E-cadherin dimerization at the plasma membrane