Upper bounds on sparticle masses from muon g − 2 and the Higgs mass and the complementarity of future colliders