A study of the excited states of 31P with the 30Si(p, γ)31P reaction