The generalized distance matrix of digraphs