Nissan warns of record loss as pandemic hits turnaround