Ultrashort pulse generation in degenerate optical parametric oscillators