Three-dimensional finite element modeling of inorganic-matrix composite materials using a mesoscale approach