Retailers struggle to profit from same-day delivery