Rio Tinto agrees $3.3 billion takeover of Turquoise Hill