Photonic analog-to-digital conversion using multiple comparators and Mach-Zehnder modulators with identical half-wave voltages