From Cr carbide to Cr oxide through a graphene layer