A numerical simulation of the deformation and fracture of a material with a porous polysilazane coating