Tourism specialization and environmental sustainability in a dynamic economy