Synthesis and field emission properties of titanium carbide nanowires