Variance function estimation in nonparametric regression model