What is the primary purpose of integrating community resources into a long-term care activity program?