Computing beta diversity from species-area curves