Data-driven prediction and origin identification of epidemics in population networks