Absorption corrections for neutron diffraction