Computing β-diversity from species-area curves