Micromechanics of the velocity and normal stress dependence of rock friction