Thermal pressure applied to the prediction of viscosity of simple substances in the dense gaseous and liquid regions