Estimation of average genome size from shotgun sequence data