Effects of slip, slip rate, and shear heating on the friction of granite