Theory of helical magnetic structures and phase transitions in MnSi and FeGe | Synapse