Rail passengers could be given ‘yellow cards’ for not having a ticket