Force constant and mass disorder in vibrational systems in the coherent-potential approximation