CIA prisons in Poland 'illegal'