A consistent semiparametric estimation of the consumer surplus distribution