Structural analysis of imperfections in contacts of graphene chemiresistors