Quantitative phase and texture analysis of ceramic matrix composites