New constraints from haverah park data on the photon and iron fluxes of ultrahigh-energy cosmic rays