Ab‐initio study of singlet and triplet excitation energies in oligothiophenes