Some results on periodic points and chaotic dynamics arising from the study of the nonlinear Hill equations