An asymptotic solution to transverse free vibrations of variable-section beams