Custom Yb-, Er-, and Tm-doped fiber lasers and amplifiers