A group of thieves stole €300,000 worth of goods from passengers on high-speed trains, police say.