Effective spin-chain model for strongly interacting one-dimensional atomic gases with an arbitrary spin