Preparation of amphiphilic poly(thiophene)s and their application for the construction of organic–inorganic superlattices