Technique for active stabilization of the relative phase between seed and pump in an optical parametric oscillator