Nonparametric approximation of conditional expectation operators