Labour would seek to end rail industry 'boom and bust', Sir Keir Starmer says