Topic-VQ-VAE: Leveraging Latent Codebooks for Flexible Topic-Guided Document Generation