Smooth nonparametric estimation of the quantile function