Essays on producers' participation in, access to, and response to the changing nature of dynamic domestic markets in Nicaragua and Costa Rica