Response function for transient heat conduction in semi-infinite media