Shape memory effect nanotools for nano-creation: examples of nanowire-based devices with charge density waves