Spatial control of defect creation in graphene at the nanoscale