Solving an Inverse Heat Conduction Problem by Spline Method