Physical problems solved by the phase-integral method