Electrically conductive nanocomposites for additive manufacturing