UniCode: Learning a Unified Codebook for Multimodal Large Language Models