Cardinals hit 3 home runs in 6-1 win over D-backs