Ultrasensitive vapor phase ion detection by one dimensional and two-dimensional nanomaterials