A novel micro-mechanical model for polycrystalline inter-granular and trans-granular fracture