Terahertz radiation from a laser bunched relativistic electron beam in a magnetic wiggler