The transfer function and impulse response of photorefractive two-beam coupling