Finnish retailer Kesko has booked an increase in profit despite weaker sales, as the group benefited from cost cutting.