Swedish fashion retailer H&M Group has moved to a loss for the first quarter, as the second wave of the Covid-19 pandemic resulted in extensive restrictions.