Spectral phase conjugation by quasi-phase-matched three-wave mixing