Crack propagation in ceramic composites with layered granular structure