Angle-resolved photoemission spectra of the Hubbard model