Two Kenyan human rights activists have returned home after being secretly detained for 39 days in Uganda.