Generation of terahertz radiation upon the optical breakdown of a gas