Forced Nonlinear Oscillations of a Semi-Infinite Beam Resting on a Unilateral Elastic Soil: Analytical and Numerical Solutions