Turkey dismisses over 540 judges, prosecutors