Nonlinear generation of harmonics through the interaction of an internal wave beam with a model oceanic pycnocline