μ-GM: A purely micromechanical constitutive model for granular materials