Observation of isotropic-dipolar to isotropic-Heisenberg crossover in Co- and Ni-substituted manganites