Control of the mechanical properties of metal-ceramic interfaces through interfacial reactions