An investigation of the (p, d) reaction on N=Z nuclei in the 2s-1d shell