Plans to set up a rail watchdog to give train passengers a voice and hold train operators to account have been unveiled by the government.