Modeling of transformation toughening in brittle composites