European court condemns Spain over police impunity