Fashion chain H&M has revealed weaker-than-expected sales for the past year after it was impacted by Red Sea shipping delays and the late timing of Black Friday.