4D Imaging of ceramic matrix composites during polymer infiltration and pyrolysis