Indian court recognizes right to die as legal