Hinsberg synthesis of thiophene derivatives