The Accretion History of AGNs. I. Supermassive Black Hole Population Synthesis Model