Worldwide distribution of the spectral components of foF2 and their dependence on the solar cycle and the earth's magnetic field