Turkey fires thousands of state employees in anti-terrorism purge