Junta-ruled Thailand flirts with Russia as U.S. ties cool