On a Camassa-Holm type equation with two dependent variables