Biophysical constraints on the origin of leaves inferred from the fossil record.