Nonlinear dynamics of a cracked cantilever beam under harmonic excitation