Electron energy-loss chemical imaging of polymer phases