Nationwide protests in France over classroom conditions have disrupted lessons at hundreds of schools.