Rising investor demand for litigation finance coincides with higher losses