Damping theory and its application to neutron scattering by anharmonic crystals