Greinke in command as D-backs beat Indians