Non-Newtonian flow in pipes of non-circular cross section