Molecular evolution of the cadherin superfamily