KnowCoder: Coding Structured Knowledge into LLMs for Universal Information Extraction