Doubly-resonant mid-infrared AgGaSe2 optical parametric oscillator