Study of nonlinear dynamic soil response to harmonic excitation using semi-analytical and numerical methods