Experimental determination of the lateral resolution of surface electric potential measurements by Kelvin probe force microscopy using biased electrodes separated by a nanoscale gap and application to thin-film transistors