add getValue for AffExpr, QuadExpr (#153)