CoMoE: Collaborative Optimization of Expert Aggregation and Offloading for MoE-based LLMs at Edge