Memristive nanowires exhibit small-world connectivity