On the Functional Form of the Hedonic Price Function: A Matching-theoretic Model and Empirical Evidence