Search for new phenomena in high-mass diphoton final states using 37 fb(-1) of proton-proton collisions collected at root(s) = 13 TeV with the ATLAS detector