Largest great ape to ever live went extinct because of climate change, says new study