Quantized Adaptive Subgradient Algorithms and Their Applications