Deposition of TiN, TiC, and TiO2 films by filtered arc evaporation