Binding affinity and mechanisms of SARS-CoV-2 variants