Homogeneously catalyzed condensation of formaldehyde to carbohydrates: VII. An overall formose reaction model