Analysis and prediction of the coronavirus disease epidemic in China based on an individual-based model