Effect of work function and surface microstructure on field emission of tetrahedral amorphous carbon