Laminar pipe flow in a transverse magnetic field with heat transfer