TiN and TiO2:Nb thin film preparation using hollow cathode sputtering with application to solar cells