Tracing fast phase transitions by electron microscopy