Dozier, Machado lead Dodgers to 3-2 win over Astros