Two-scale modeling of granular materials: A FEM-FEM approach