Electronic structures and electrophilic substitution in 2-(4-R-2-quinolyl)thiophenes and 5-(4-R-2-quinolyl)-2,2′-dithienyls