Terahertz nonlinear optics in semiconductors