Valuation of the early-exercise price for options using simulations and nonparametric regression