UK online food retailer Ocado said it has delivered its "first ever" profit for a financial year.