Multi-scale modeling of cyclic shearing and liquefaction response of granular materials