Characterizing the reproduction number of epidemics with early subexponential growth dynamics