An early warning system for emerging SARS-CoV-2 variants