The structure of27Mg from the26Mg(d, pγ) reaction