SMS dit: Finite materialisability of Datalog programs with metric temporal operators