Entropy generation due to the flow of a non-Newtonian fluid with variable viscosity in a circular pipe