Exact solution to the conjugate problem of nonuniform cooling of fuel rods