Ge/Si photodiodes and phototransistors with embedded arrays of germanium quantum dots for fiber-optic communication lines