Dodgers deal Ellis to Phillies in exchange for Ruiz