Entrance pipe flow and heat transfer for a Bingham plastic