Turkish police detain 29 in anti-terror raids