THz Generation by Optical Rectification and Competition with Other Nonlinear Processes