Constraining the mass and radius of neutron stars in globular clusters