France to extend state of emergency for six months