Quantitative structure determination of interfaces through Z-contrast imaging and electron energy loss spectroscopy