A micromorphic elastoplastic model and finite element simulation on failure behaviors of granular materials