Nakheel reports half-year losses