Spectroscopic properties of oxidized and thiolated graphene quantum dots. A comparative study