Precise determination of graphene functionalization by in situ Raman spectroscopy