Setting up a power of attorney for a parent with dementia could help you avoid a costly and messy guardianship proceeding. Here’s how to do it