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