Teachers fear for quality of education after budget cuts