Pore- and delamination-induced mismatch strain relaxation and conditions for the formation of dislocations, cracks, and buckles in the epitaxial AlN(0001)/SiC/Si(111) heterostructure