Uganda opposition figure Besigye appears in military court