VIX computation based on affine stochastic volatility models in discrete time