The electronic structure of bond‐alternating and nonalternant conjugated hydrocarbons: Diphenylpolyenes and azulene