Walmart to open in North Smithfield, close in Woonsocket