The impact of married women and related factors on the distribution of family earnings