Viscosity measurements in high-energy-density physics