Process for producing ceramic matrix composites by liquid infiltration of ceramic polymeric precursors