Optimality, the interaction of spot and futures markets, and the nonneutrality of money in the lucas model