Giants rally to beat rival Dodgers 4-2 in series opener