Radiation sources for the terahertz frequency range