PRODUCTION OF HIGH TRANSVERSE-MOMENTUM PROMPT PHOTONS AND NEUTRAL PIONS IN PROTON-PROTON INTERACTIONS AT 280 GEV/C