Thousands march in France over schools and living costs as police use tear gas