Functional alterations caused by mutations reflect evolutionary trends of SARS-CoV-2