Thermal densification of metal-ceramic composites