A finite strain framework for the simulation of polymer curing .Part II: Viscoelasticity and shrinkage