Montero drives in 3 as D'backs beat Royals 6-4