Study on rare-earth–doped type-I germanium clathrates