Sagnac-loop-based Optical Coding for All-optical Analog-to-digital Conversion Employing Soliton Self-frequency Shift