Electronic transport properties of metallic CNTs in an axial magnetic field at nonzero temperatures: A model of an ultra-small digital magnetometer