A method for quantifying biodiversity loss and its application to a 50‐year record of deforestation across Madagascar