Synthesis and field emission characterization of titanium carbide nanowires