Human Rights Watch chief to resign after nearly 3 decades