Turkey dismisses 18,000 state employees for alleged terrorist links