French president says prison attacks ‘unacceptable’