Application of I-function of two variables on the problem of heat conduction in a finite bar