The effect of entanglements on the viscosity of a polymer melt