Precision synthesis of tailor-made polythiophene-based materials and their application to organic solar cells