A New Adaptive Rejection Sampling Method Using Kernel Density Approximations and Its Application to Subset Simulation