Estimating the functional form of travel demand models