How Flexible is that Functional Form? Quantifying the Restrictiveness of Theories