Coding and Strong Coding in Trace Monoids