An approach to quality improvement in social services