Functional materials characterizations by scanning/transmission electron microscopy and electron energy loss spectroscopy