Turkey sentences ex-newspaper staff for 'terrorism'