Laser oscillator and parametric oscillator under external injection