Threshold resummation for the production of a color sextet (antitriplet) scalar at the LHC