Describing excited states of [n]cycloparaphenylenes by hybrid and double-hybrid density functionals: from isolated to weakly interacting molecules