Telekombolaget Ericsson har tecknat ett femårigt kontrakt med AT&T värt cirka 14 miljarder dollar.