Luminescence from oligothiophenes and thiophene-based oligomers