Russian playwright gets prison for 'justifying terrorism'