Carbon nitride nanotube as a sensor for alkali and alkaline earth cations