Diamondbacks top Dodgers 5-1