Detection of activities of daily living impairment in Alzheimer’s disease and mild cognitive impairment using information and communication technology