Electron Energy Loss Spectroscopy Of Graphene And Boron Nitride With Impurities Or Defects In The Transmission Electron Microscope