Anti-terror drive poses risk to civil liberties, says EU study