Influence of age and gender on the epidemic of COVID-19