What Makes Good In-Context Demonstrations for Code Intelligence Tasks with LLMs? | Synapse