Absorption and emission properties of carbazole-based dyads studied from experimental and theoretical investigations