Walmart’s Mexico unit posts 12% quarterly profit rise, despite cost pressures