Costco posts upbeat first-quarter results on strong demand for cheaper groceries