Define a `Num` instance for `TimeSpec`.

This allows `TimeSpec` arithmetic, most importantly computing the difference between two `TimeSpec`s.