Nonlinear terahertz emission in semiconductor microcavities.