Taylor's 2 homers power Dodgers past Giants 9-2 for 50th win