Panacea: Pareto Alignment via Preference Adaptation for LLMs