Piecewise linear and Boolean models of chemical reaction networks