Measurement of differential cross sections for inclusive isolated-photon and photon plus jet production in proton-proton collisions at root s=13TeV