US retailer Costco has booked rising first-quarter revenue and profits after rising sales at home and in Canada and the UK.