Let $X$ be a projective nodal curve. Why is the dualizing sheaf of $X$ isomorphic to the log-cotangent bundle of $X$?