Measurement of the inclusive isolated-photon cross section in pp collisions at s√ = 13 TeV using 36 fb−1 of ATLAS data