Determination of mode power distribution in a parabolic-index optical fibers: Theory and application