Three-focal-spot terahertz diffractive optical element-iterative design and neural network approach.