EA to get rights to Star Wars games