Electric-discharge sintering of TiN-AlN nanocomposites