Ultraviolet direct printing of rare-earth-doped polymer waveguide amplifiers