On Unsupervised Prompt Learning for Classification with Black-box Language Models