Elastic and inelastic neutron scattering by silicon and sulphur