Artificial intelligence steps in to assist dementia patients with high-tech apparel