Carbon fibre composites with ceramic and glass matrices