Measurement of direct neutron capture by neutron-rich sulfur isotopes