Density and capture radius of the defects: quenching the luminescent states in non-nitrogenated and nitrogenated amorphous carbon thin films