Assessing the fidelity of the fossil record by using marine bivalves.