Dipole radiative strength functions from resonance neutron capture