Theory of impurity photo-ionization spectrum of semiconductors in magnetic fields