Real-time measurements of sliding friction and elastic properties of ZnO nanowires inside a scanning electron microscope