AT&T agrees to purchase Time Warner for $80 billion