Rare earth-doped phosphate and germanate glasses for near-infrared power amplifiers and laser sources