Frequency and amplitude modulation in terahertz-sideband generation in quantum wells