Analytic and algebraic indices of elliptic operators associated with discrete groups of quantized canonical transformations