What applications does diffraction have?