A modified minibatch sampling method for parameter estimation in hidden Markov models using stochastic variational Bayes