Spectroscopy of 25Al and 26,27,28P using high-energy stripping reactions