Nonoptical tip-sample distance control for scanning near-field optical microscopy