Study shows how individual fossil fuel companies are making previously impossible heatwaves happen and could have to pay compensation