Intense terahertz radiation via the transverse thermoelectric effect