Rigid vibrations of a photonic crystal and induced interband transitions