Shape optimization of reticulated shells with constraints on member instabilities