The effects of border control and quarantine measures on global spread of COVID-19