A new parametric instability: all-optical switching and amplification