RESONEUT: A detector system for spectroscopy with (d,n) reactions in inverse kinematics