Isotopically invariant Dunham coefficients of LiCl, CuCl, CuBr, AgCl, and GaBr