CatCode: A Comprehensive Evaluation Framework for LLMs On the Mixture of Code and Text