A study of three-nucleon transfer reactions on 17O