Cordiality of digraphs