why did money develop in agrarian societies