Nonreciprocity and topology in dynamically modulated photonic systems