Coherent potential approximation for disordered bosons