Theory of excitonic states in CaB6