Modification of the phase methods for investigation of non-stationary processes in the ionosphere, magnetosphere and interplanetary space