Investigating the impact of community-based tourism on the residents’ quality of life and their support for tourism