The grocery chain's e-commerce operations turned a profit for the first time, but the CEO said more than half of its stores need to step up their performance.