Metamagnetic transitions induced by doping with non-magnetic 4+ ions in ludwigites Co5A(O2BO3)2 (A=Zr and Hf)