Hybrid solutions for thermally developing flows in channels partially filled with porous media