Determination of average effective masses of majority carriers as function of impurity concentrations for heavily doped GaAs