Semi-parametric estimation of the sample selection model