Semiempirical Modeling of the Atmospheres of the M Dwarf Exoplanet Hosts GJ 832 and GJ 581