Electronic structure and site occupancy of lanthanide-doped (Sr, ca)3(Y, lu)2Ge3O12 garnets