Structure and mechanical failure in nanophase silicon nitride