Swedish fashion chain H&M will keep a close watch on cost inflation and prices after its net profit took a hit in the final quarter of the year.