Hairston gets 5 hits, Dodgers beat Astros