Hierarchical Residual Learning Based Vector Quantized Variational Autoencoder for Image Reconstruction and Generation