Calculation of the temperature field in a plane channel with nonuniform heating of thermally conducting walls