Comparing models of rapidly rotating relativistic stars constructed by two numerical methods