French justice minister labels prison attacks as ‘terrorist acts’