Singlet and triplet excitons and charge polarons in cycloparaphenylenes: a density functional theory study.