Dynamic structural views in solar energy materials by femtosecond electron diffraction