Transitions in two sinusoidally coupled Josephson junction rotators