H&M profit drops 18% on high costs; plans 178 new stores in second half