Hill's two-RBI knock in 12th picks up D-backs