A methodology to optimize the quantification of sp2 carbon fraction from K edge EELS spectra