UV shielding of NH3 and O2 by organic hazes in the Archean atmosphere