People with mental health problems are more likely to be referred to government’s counterterrorism programme