Forced convection with slug flow and viscous dissipation in a rectangular duct