Modelling of the deformation and destruction of a TiNi-TiB2 metal-ceramic composite fabricated by direct laser deposition