Weak sales at Walmart, profit outlook lowered