DNA-based switchable devices and materials