Implementation of quarantine in China during the outbreak of COVID-19