Dynamic thermodynamic resolution: control of enantioselectivity through diastereomeric equilibration.