Factors influencing health of migrants along migration phases