Basin-scale reconstruction of euxinia and Late Devonian mass extinctions