Estimating the conditional density by histogram type estimators and model selection