Walmart says it will raise prices due to tariff costs after posting solid first quarter sales