The Relationship Between Pain, Function, Behavioral, and Psychological Symptoms of Dementia and Quality of Life.