The beam-helicity asymmetry for γp → pK+K− and γp → pπ+ π−