Acoustooptic devices and their applications