Analytical and numerical solutions for transient heat conduction in an infinite geometry with heat source subjected to heterogeneous boundary conditions of the third kind