Calculation of density of states for crystalline and amorphous III‐V semiconductors