H&M profit hit by $127.2 million in restructuring costs during turnaround