Biofacies Patterns in Euxinic Basins a General Model