Synthesis, properties, and magnetism–structure relationship of lanthanide-based metal–organic frameworks with (ethylenedithio)acetic acid