Joining silicon nitride to itself and to metals