R-package hmmm: hierarchical multinomial marginal models