Development and application of ultrafast scanning electron microscopy