Modulational instability in second-harmonic generation.