Vapor polymerization deposition of polyimide thin films having oligothiophene segments in the main chain