An empirical test of utility versus profit maximization in agricultural production