High resolution electron energy loss spectroscopy – A case study of MgB2