Threshold switching of a NbOx device prepared by DC reactive sputtering