A study of the 31P(p, γ)32s reaction and the excited states of 32S