Doubly-resonant optical parametric oscillators: tuning behaviour and stability requirements