Stochastic distributed consensus with quantized data and input noise