Kubel homers twice as D-backs beat Rangers 8-6