TRANSITIONS IN COHERENT OSCILLATIONS BETWEEN TWO TRAPPED BOSE-EINSTEIN CONDENSATES