Analysis of tip–sample interaction in tapping-mode atomic force microscope using an electrical circuit simulator