A modified micromorphic model based on micromechanics for granular materials