Desire for death near the end of life: the role of depression, anxiety and pain