UK supermarket chain Sainsbury has posted a £39m (US$72.4m) H1 pre-tax loss.