Characterization of thick chromium-carbon and chromium-nitrogen films deposited by hollow cathode discharge