Smoothing kernels for use in kernel regression and kernel density estimation