Preparation of BN matrix composites by precursor thermolysis