Modeling COVID-19: Forecasting and analyzing the dynamics of the outbreak in Hubei and Turkey