Moment-type Nonparametric Estimation in Some Direct and Indirect Models