What are the similarities and differences between the concept of moksha in Hinduism and nirvana in Buddhism?