Magneto-Seebeck coefficient and Nernst coefficient of a hot and dense hadron gas