Stable operation mode for dynamic noncontact atomic force microscopy