Fast fashion giant H&M has warned it will not meet its profitability target this year after a weather hit to sales and amid cost pressures.