Charge-transfer luminescence and spectroscopic properties of Yb3+ in aluminium and gallium garnets