Dependence of the diamond coating adhesion on the microstructure of SiC-based substrates