Ethical and legal issues in pain research in cognitively impaired older adults.