A comprehensive model for transient behavior of tapping mode atomic force microscope