Former teacher in France surrenders after holding 22 hostage in school