Carbon nitride films on diamond layers and their thermal behavior