R package hmmm: Hierarchical Multinomial Marginal Models