Influence of disorder on the optical absorption in semiconductors : Application to epitaxially grown III-V compounds