An Epidemiological Model for Analysing Pandemic Trends of Novel Coronavirus Transmission with Optimal Control