Time-dependent radiative transfer in a semi-infinite medium with a reflecting boundary