Interfacial superstructures and chemical bonding transitions at metal-ceramic interfaces