Dodgers and Cardinals make key additions as part of 3-team trade