Minions: Cost-efficient Collaboration Between On-device and Cloud Language Models