Outbreak dynamics of COVID-19 in China and the United States