Study links climate change to July heat waves