Viscosity estimates of liquid metals and warm dense matter using the Yukawa reference system