Three-dimensional electron ptychography of organic–inorganic hybrid nanostructures