Fluctuation-induced diamagnetism and dimensionality in superconducting layered compounds: TaS/sub 2/(pyridine)/sub 1///sub 2/ and NbSe/sub 2/