Eight times a day, a remarkable scene unfolds in Maeklong Market near Bangkok: vendors and tourists have to make way for a train passing through.