Hyun-Jin Ryu threw 7 scoreless innings to lead the Dodgers past the Giants 2-1