Analog-to-Digital Conversion Based on Modular Blocks Exploiting Cross-Gain Modulation in Semiconductor Optical Amplifiers