Demonstrations have been taking place in the Polish capital Warsaw against a controversial judiciary law.