Electronic structure of disordered alloys. II. Self-consistent cluster CPA. Application to III-V ternary alloys