Calculation of friction coefficient and temperature field of line contacts lubricated with a non-Newtonian fluid