HQ-VAE: Hierarchical Discrete Representation Learning with Variational Bayes