Search for heavy charged long-lived particles in proton–proton collisions at sqrt(s) = 13 TeV using an ionisation measurement with the ATLAS detector