Inflation weighs on back-to-school buying for many families