Neutron diffraction by vibrating crystals