Sir Keir Starmer has accused the Tories of using Brexit to deliberately run an "open borders experiment" in the UK.