Search for long-lived charged particles in proton-proton collisions at sqrt(s) = 13 TeV