Measurement of the inclusive energy spectrum in the very forward direction in proton-proton collisions at sqrt(s) = 13 TeV