The kinetic friction between a nanowire and a flat substrate measured using nanomanipulation with optical microscopy