Bulk viscosity of model fluids. A comparison of equilibrium and nonequilibrium molecular dynamics results