Multiphase patterns in self-phase-locked optical parametric oscillators