Integrated model for indoor built environment and cognitive functional ability of older residents with dementia in care and attention homes