The durability of immunity against reinfection by SARS-CoV-2: a comparative evolutionary study