Which Examples to Annotate for In-Context Learning? Towards Effective and Efficient Selection