Analytic extension of the coherent potential approximation to clusters