Structure, magnetic and thermodynamic properties of heterometallic ludwigites: Cu2GaBO5 and Cu2AlBO5