Comparative study of thermo-stimulated luminescence and electron emission of nitrogen nanoclusters and films