Continuous and lattice models to describe crack paths in brittle–matrix composites with random and unidirectional fibres