Least-squares Importance Sampling for Monte Carlo security pricing