Neutral-pion photoproduction and proton Compton scattering at large angles