Quantization of intraband and interband Berry phases in the shift current | Synapse