The cordiality of the complement of a graph