Heat transfer in non-Newtonian flow through pipes