Fossil assemblages and depositional environments: limits to stratigraphical correlations