Glencore is in talks with rival Rio Tinto that could lead to merger and the creation of the world's largest mining firm.