Investigating the Rosetta/RTOF observations of comet 67P/Churyumov-Gerasimenko using a comet nucleus model: influence of dust mantle and trapped CO