Japanese automaker Nissan reduces losses and expects to return to profit