Robust observable control of open and closed quantum systems