A repeating fast radio burst source in a globular cluster