'Turkey to explore legal routes against US'