Optical properties of BiB3O6 in the terahertz range