Nonlinear dynamics for estimating the tip radius in atomic force microscopy