Intelligent Reflecting Surface Assisted Terahertz Communications Toward 6G