Teachers threaten strike next term as government told to solve profession's cost of living crisis