Thermohydrodynamic Lubrication in Laminar and Turbulent Regimes