From fossils to physiology: testing the functional significance of leaf shape