Mexican retailer Wal-Mart De Mexico (Walmex) has posted a 49% rise in second-quarter net profit, helped by higher sales and cost cuts.