InP based lasers and optical amplifiers with wire-/dot-like active regions