Slovenian retailer Mercator has warned of rising raw materials costs and "profound recession" in many of its key markets after swinging to a net loss in the first half of 2012.