Electronic properties of graphene with a topological defect