TokenFlow: Unified Image Tokenizer for Multimodal Understanding and Generation