Electronic Arts will pay $1.2 billion for Codemasters, outbidding Take-Two