Amazon said to be in talks to buy MGM movie studio