Singlet and triplet states in cycloaddition to conjugated dienes