Theory of the excitonic Mollow spectrum in semiconductors