Effect of chain flexibility in the network structure on the viscoelasticity of epoxy thermosets