Spin determination of single-produced resonances at hadron colliders