A comparison study between atomic and ionic nitrogen doped carbon films prepared by ion beam assisted cathode arc deposition at various pulse frequencies