Robust optimization on redundancy allocation problems in multi-state and continuous-state series–parallel systems