Anisotropic thermal expansion and electronic transitions in the Co3BO5 ludwigite