Retirement benefits to increase for teachers and first responders