Estimation of the observational analogs of the intention-to-treat and per-protocol effects of hypothetical treatment strategies