Computing the variance of interval and fuzzy data