Pederson, Turner homer in Dodgers' 6-4 win over D-Backs