What two baseball teams were granted permission to relocate from New York to California?

The Giants and the Dodgers