The R Package markets: Estimation Methods for Markets in Equilibrium and Disequilibrium