Interlayer interaction in misfit layer compounds MTS3 (M = Sn, Pb, La; T = Ti, Nb)