Search for physics beyond the standard model in high-mass diphoton events from proton-proton collisions at s =13 TeV