Preparation of photonic molecular trains via soft-crystal polymerization of lanthanide complexes