Assessing the potential impact of immunity waning on the dynamics of COVID-19: an endemic model of COVID-19