Theory of time-domain Brillouin scattering for probe light and acoustic beams propagating at an arbitrary relative angle: Application to acousto-optic interaction near material interfaces