Search for long-lived particles using delayed photons in proton-proton collisions at √s = 13 TeV