Q-SpiNN: A Framework for Quantizing Spiking Neural Networks