Rangers sign Rafael Perez to minor league deal