Thailand welcomed 3.13 million tourists in August