Crossover between short and long range proximity effects in SFS junctions with Ni-based ferromagnets