First principles study of intrinsic defects in hexagonal tungsten carbide